import type { TableProps } from "tdesign-vue-next";

export const tableColumns = [
  {
    colKey: "countryCode",
    title: "区号",
    width: 220
  },
  {
    colKey: "countryName",
    title: "国家/地区",
    width: 230,
    filter: {
      type: "input",
      resetValue: "",
      // 按下 Enter 键时也触发确认搜索
      confirmEvents: ["onEnter"],
      showConfirmAndReset: true
    }
  }
] as TableProps["columns"];
